<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h1>test2</h1>
    <!--是否转义字符串-->
    <div th:text="${name}" >message</div>
    <div th:utext="${name}" >message</div>


    <h3>===================foreach两种用法======================</h3>
    <span>1.</span><p th:each="user:${users}" th:text="${user}"></p>
    <span>2.</span><p th:each="user:${users}">[[${user}]]</p>
</body>
</html>